package rules;

import rules.bookinfo.BookInfoValidator;
import rules.feedback.PersonFeedbackValidator;
import books.BookInfo;
import feedback.PersonFeedback;

/**
 */
public class Validator {

    private Validator() {
        // private constructor
    }

    public static void validate(final BookInfo aBookInfo) {
        new BookInfoValidator().validate(aBookInfo);
    }

    public static void validate(final PersonFeedback aPersonFeedback) {
        new PersonFeedbackValidator().validate(aPersonFeedback);
    }
}
